<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
<style type="text/css">

table td {
    border: 1px solid red;
}

</style>

<script type="text/javascript">
		document.writeln("<table>");
        for (var i=9;i>=1;i--){
            document.writeln("<tr>");
            for(var j=1;j<=i;j++){
                document.writeln("<td>"+j+"*"+i+"="+j*i+"</td>");
            }
            document.writeln("<tr>");
        }
        document.writeln("</table>");
	document.write();

</script>
</head>

<body>

</body>
</html>